package com.api.devices.mapper;

import com.api.devices.domain.query.ResourceQuery;
import com.api.devices.domain.vo.IpcVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ResourceMapper {
    ResourceQuery latestNews(@Param("tableName") String tableName);
    ResourceQuery latest(@Param("tableName") String tableName);

    List<ResourceQuery> resourceList(@Param("vo") IpcVo vo);
}
